home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / clang / ucrasm.zip / STDLIB6.A < prev    next >
Text File  |  1991-12-25  |  14KB  |  960 lines

  1. StdGrp        group    stdlib, stddata
  2. ;
  3. stddata        segment    para public 'sldata'
  4. stddata        ends
  5. stdlib        segment    para public 'slcode'
  6. stdlib        ends
  7. ;
  8. ;
  9. stdlib        segment        para public 'slcode'
  10.         externdef    sl_getc:far, sl_GetcStdIn:far,
  11.                 sl_GetcBIOS:far, sl_SetInBIOS:far,
  12.                 sl_SetInStd:far, sl_GetInAdrs:far,
  13.                 sl_PushInAdrs:far, sl_PopInAdrs:far,
  14.                 sl_Gets:far, sl_atol:far, sl_atoul:far,
  15.                 sl_atol2:far, sl_atoul2:far
  16. ;
  17.         externdef    sl_atoi:far, sl_atou:far, sl_atoi2:far,
  18.                 sl_atou2:far, sl_atoh:far, sl_atoh2:far,
  19.                 sl_atolh:far, sl_atolh2:far, sl_isize:far,
  20.                 sl_usize:far, sl_lsize:far, sl_ulsize:far,
  21.                 sl_print:far, sl_printf:far, sl_scanf:far,
  22.                 sl_printff:far
  23. ;
  24.         externdef    sl_sprintf:far, sl_sscanf:far,
  25.                 sl_sbprintf:far, sl_putc:far,
  26.                 sl_putcstdout:far, sl_putcbios:far,
  27.                 sl_setoutadrs:far, sl_getoutadrs:far,
  28.                 sl_pushoutadrs:far, sl_popoutadrs:far,
  29.                 sl_PutUSize:far, sl_PutLSize:far
  30. ;
  31.         externdef    sl_PutULSize:far, sl_PutISize:far,
  32.                 sl_Puti:far, sl_Puth:far, sl_Putw:far,
  33.                 sl_Putu:far, sl_Putul:far, sl_Putl:far,
  34.                 sl_itoa:far, sl_utoa:far, sl_htoa:far,
  35.                 sl_wtoa:far, sl_ltoa:far, sl_ultoa:far
  36. ;
  37.         externdef    sl_MemInit:far, sl_malloc:far,
  38.                 sl_realloc:far, sl_DupPtr:far,
  39.                 sl_free:far, sl_IsInHeap:far,
  40.                 sl_IsPtr:far, sl_IsAlNum:far,
  41.                 sl_IsxDigit:far, sl_strcpy:far,
  42.                 sl_strcpyl:far, sl_strdup:far
  43. ;
  44.         externdef    sl_strdupl:far, sl_strlen:far,
  45.                 sl_strcat:far, sl_strcatl:far,
  46.                 sl_strcat2:far, sl_strcat2l:far,
  47.                 sl_strchr:far, sl_strstr:far,
  48.                 sl_strstrl:far, sl_strcmp:far
  49. ;
  50.         externdef    sl_stricmp:far, sl_stricmpl:far,
  51.                 sl_strcmpl:far, sl_strupr:far,
  52.                 sl_strupr2:far, sl_strlwr:far,
  53.                 sl_strlwr2:far, sl_strset:far,
  54.                 sl_strset2:far, sl_strspan:far,
  55.                 sl_strspanl:far, sl_strcspan:far
  56. ;
  57.         externdef    sl_strcspanl:far, sl_strins:far,
  58.                 sl_strinsl:far, sl_strins2:far,
  59.                 sl_strins2l:far, sl_strdel:far,
  60.                 sl_strdel2:far, sl_strrev:far,
  61.                 sl_strrev2:far, sl_CreateSets:far
  62. ;
  63.         externdef    sl_EmptySet:far, sl_RangeSet:far,
  64.                 sl_AddStr:far, sl_AddStrl:far,
  65.                 sl_RmvStr:far, sl_RmvStrl:far,
  66.                 sl_AddChar:far, sl_RmvChar:far,
  67.                 sl_Member:far, sl_CopySet:far,
  68.                 sl_SetUnion:far, sl_SetIntersect:far,
  69.                 sl_SetDifference:far, sl_NextItem:far,
  70.                 sl_RmvItem:far
  71. ;
  72.         externdef    sl_lsfpa:far, sl_ssfpa:far, sl_ldfpa:far,
  73.                 sl_sdfpa:far, sl_lefpa:far, sl_sefpa:far,
  74.                 sl_lefpal:far
  75. ;
  76.         externdef    sl_lsfpo:far, sl_ldfpo:far,
  77.                 sl_lefpo:far, sl_lefpol:far,
  78.                 sl_itof:far, sl_utof:far,
  79.                 sl_ultof:far, sl_ltof:far
  80. ;
  81.         externdef    sl_fadd:far, sl_fsub:far,
  82.                 sl_fcmp:far, sl_fdiv:far,
  83.                 sl_fmul:far
  84. ;
  85.         externdef    sl_ftoa:far, sl_ftoa2:far,
  86.                 sl_ftoam:far, sl_etoa:far,
  87.                 sl_etoa2:far, sl_etoam:far
  88. ;
  89.         externdef    sl_atof:far, sl_ftoi:far,
  90.                 sl_ftou:far, sl_ftol:far,
  91.                 sl_ftoul:far, sl_AccOp:far,
  92.                 sl_XAccOp:far, sl_putf:far,
  93.                 sl_pute:far
  94. ;
  95.         externdef    sl_fcreate:far, sl_fopen:far, sl_readon:far,
  96.                 sl_freadoff:far, sl_fclose:far,
  97.                 sl_fflush:far, sl_fwriteon:far,
  98.                 sl_fwriteoff:far, sl_fseek:far,
  99.                 sl_DOSHandle:far, sl_fdel:far,
  100.                 sl_frename:far
  101. ;
  102.         externdef    sl_argc:far, sl_argv:far, sl_tohex:far,
  103.                 sl_GetEnv:far,
  104.                 sl_Randomize:far, sl_random:far,
  105.                 sl_cpuid:far
  106.  
  107.  
  108. ; Some moderately useful macros:
  109.  
  110.  
  111.  
  112. DOS    macro    opcode
  113.     ifnb    opcode
  114.     mov    ah, opcode
  115.     endif
  116.     int    21h
  117.     endm
  118.  
  119. ExitPgm    macro
  120.     mov    ah, 4ch
  121.     int    21h
  122.     endm
  123.  
  124.  
  125.  
  126.  
  127. ; Normal stdlib macros:
  128.  
  129.  
  130.  
  131.  
  132. Putc        macro
  133.         call    far ptr stdgrp:sl_putc
  134.         endm
  135. ;
  136. ;
  137. Putcr        macro
  138.         call    far ptr stdgrp:sl_putcr
  139.         endm
  140. ;
  141. ;
  142. ;
  143. PutcStdOut    macro
  144.         call    far ptr stdgrp:sl_putcStdOut
  145.         endm
  146. ;
  147. ;
  148. ;
  149. PutcBIOS    macro
  150.         call    far ptr stdgrp:sl_putcBIOS
  151.         endm
  152. ;
  153. ;
  154. ;
  155. SetOutAdrs    macro
  156.         call    far ptr stdgrp:sl_SetOutAdrs
  157.         endm
  158. ;
  159. ;
  160. GetOutAdrs    macro
  161.         call    far ptr stdgrp:sl_GetOutAdrs
  162.         endm
  163. ;
  164. ;
  165. PushOutAdrs    macro
  166.         call    far ptr stdgrp:sl_PushOutAdrs
  167.         endm
  168. ;
  169. ;
  170. PopOutAdrs    macro
  171.         call    far ptr stdgrp:sl_PopOutAdrs
  172.         endm
  173. ;
  174. getc        macro
  175.         call    far ptr stdgrp:sl_getc
  176.         endm
  177. ;
  178. ;
  179. ;
  180. GetcStdIn    macro
  181.         call    far ptr stdgrp:sl_GetcStdIn
  182.         endm
  183. ;
  184. GetcBIOS    macro
  185.         call    far ptr stdgrp:sl_GetcBIOS
  186.         endm
  187. ;
  188. SetInBIOS    macro
  189.         call    far ptr stdgrp:sl_SetInBIOS
  190.         endm
  191. ;
  192. SetInStd    macro
  193.         call    far ptr stdgrp:sl_SetInStd
  194.         endm
  195. ;
  196. ;
  197. ;
  198. SetInAdrs    macro
  199.         call    far ptr stdgrp:sl_SetInAdrs
  200.         endm
  201. ;
  202. ;
  203. GetInAdrs    macro
  204.         call    far ptr stdgrp:sl_GetInAdrs
  205.         endm
  206. ;
  207. ;
  208. PushInAdrs    macro
  209.         call    far ptr stdgrp:sl_PushInAdrs
  210.         endm
  211. ;
  212. ;
  213. PopInAdrs    macro
  214.         call    far ptr stdgrp:sl_PopInAdrs
  215.         endm
  216. ;
  217. ;
  218. gets        macro
  219.         call    far ptr stdgrp:sl_gets
  220.         endm
  221. ;
  222. ;
  223. atol        macro
  224.         call    far ptr stdgrp:sl_atol
  225.         endm
  226. ;
  227. atoul        macro
  228.         call    far ptr stdgrp:sl_atoul
  229.         endm
  230. ;
  231. ;
  232. ;
  233. atol2        macro
  234.         call    far ptr stdgrp:sl_atol2
  235.         endm
  236. ;
  237. atoul2        macro
  238.         call    far ptr stdgrp:sl_atoul2
  239.         endm
  240. ;
  241. ;
  242. ; atoi and atou from atoi.asm
  243. ;
  244. atoi        macro
  245.         call    far ptr stdgrp:sl_atoi
  246.         endm
  247. ;
  248. atou        macro
  249.         call    far ptr stdgrp:sl_atou
  250.         endm
  251. ;
  252. ;
  253. atoi2        macro
  254.         call    far ptr stdgrp:sl_atoi2
  255.         endm
  256. ;
  257. atou2        macro
  258.         call    far ptr stdgrp:sl_atou2
  259.         endm
  260. ;
  261. atoh        macro
  262.         call    far ptr stdgrp:sl_atoh
  263.         endm
  264. ;
  265. ;
  266. atolh        macro
  267.         call    far ptr stdgrp:sl_atolh
  268.         endm
  269. ;
  270. ;
  271. atoh2        macro
  272.         call    far ptr stdgrp:sl_atoh2
  273.         endm
  274. ;
  275. ;
  276. atolh2        macro
  277.         call    far ptr stdgrp:sl_atolh2
  278.         endm
  279. ;
  280. ISize        macro
  281.         call    far ptr stdgrp:sl_Isize
  282.         endm
  283. ;
  284. USize        macro
  285.         call    far ptr stdgrp:sl_USize
  286.         endm
  287. ;
  288. ;
  289. ; LSize and ULSize from lsize.asm
  290. ;
  291. LSize        macro
  292.         call    far ptr stdgrp:sl_Lsize
  293.         endm
  294. ;
  295. ULSize        macro
  296.         call    far ptr stdgrp:sl_ULSize
  297.         endm
  298. ;
  299. ;
  300. Print        macro
  301.         call    far ptr stdgrp:sl_print
  302.         endm
  303. ;
  304. Printf        macro
  305.         ifdef    sl_printff
  306.         echo    You are using both PRINTF and PRINTFF.  Just use PRINTFF.
  307.         endif
  308.         call    far ptr stdgrp:sl_printf
  309.         endm
  310. ;
  311. Printff        macro
  312.         ifdef    sl_printf
  313.         echo    You are using both PRINTF and PRINTFF.  Just use PRINTFF.
  314.         endif
  315.         call    far ptr stdgrp:sl_printff
  316.         endm
  317. ;
  318. ;
  319. ;
  320. SPrintf        macro
  321.         call    far ptr stdgrp:sl_sprintf
  322.         endm
  323. ;
  324. ;
  325. SBPrintf    macro
  326.         call    far ptr stdgrp:sl_sbprintf
  327.         endm
  328. ;
  329. ;
  330. ;
  331. Scanf        macro
  332.         call    far ptr stdgrp:sl_scanf
  333.         endm
  334. ;
  335. SScanf        macro
  336.         call    far ptr stdgrp:sl_sscanf
  337.         endm
  338. ;
  339. ;
  340. ;
  341. ;
  342. ;
  343. PutISize    macro
  344.         call    stdgrp:sl_putisize
  345.         endm
  346. ;
  347. ;
  348. PutUSize    macro
  349.         call    stdgrp:sl_putusize
  350.         endm
  351. ;
  352. ;
  353. ;
  354. PutLSize    macro
  355.         call    stdgrp:sl_putlsize
  356.         endm
  357. ;
  358. ;
  359. PutULSize    macro
  360.         call    stdgrp:sl_putulsize
  361.         endm
  362. ;
  363. ;
  364. ;
  365. Puts        macro
  366.         call    stdgrp:sl_puts
  367.         endm
  368. ;
  369. Puth        macro
  370.         call    stdgrp:sl_puth
  371.         endm
  372. ;
  373. Putw        macro
  374.         call    stdgrp:sl_putw
  375.         endm
  376. ;
  377. Puti        macro
  378.         call    stdgrp:sl_puti
  379.         endm
  380. ;
  381. Putu        macro
  382.         call    stdgrp:sl_putu
  383.         endm
  384. ;
  385. Putl        macro
  386.         call    stdgrp:sl_putl
  387.         endm
  388. ;
  389. PutUL        macro
  390.         call    stdgrp:sl_putul
  391.         endm
  392. ;
  393. itoa        macro
  394.         call    stdgrp:sl_itoa
  395.         endm
  396. ;
  397. utoa        macro
  398.         call    stdgrp:sl_utoa
  399.         endm
  400. ;
  401. htoa        macro
  402.         call    stdgrp:sl_htoa
  403.         endm
  404. ;
  405. wtoa        macro
  406.         call    stdgrp:sl_wtoa
  407.         endm
  408. ;
  409. ltoa        macro
  410.         call    stdgrp:sl_ltoa
  411.         endm
  412. ;
  413. ultoa        macro
  414.         call    stdgrp:sl_ultoa
  415.         endm
  416. ;
  417. MemInit        macro
  418.         call    stdgrp:sl_MemInit
  419.         endm
  420. ;
  421. malloc        macro
  422.         call    stdgrp:sl_malloc
  423.         endm
  424. ;
  425. realloc        macro
  426.         call    stdgrp:sl_realloc
  427.         endm
  428. ;
  429. DupPtr        macro
  430.         call    stdgrp:sl_dupptr
  431.         endm
  432. ;
  433. free        macro
  434.         call    stdgrp:sl_free
  435.         endm
  436. ;
  437. IsInHeap    macro
  438.         call    stdgrp:sl_IsInHeap
  439.         endm
  440. ;
  441. IsPtr        macro
  442.         call    stdgrp:sl_IsPtr
  443.         endm
  444. ;
  445. IsAlNum        macro
  446.         call    stdgrp:sl_IsAlNum
  447.         endm
  448. ;
  449. IsxDigit    macro
  450.         call    stdgrp:sl_IsxDigit
  451.         endm
  452. ;
  453. ToLower        macro
  454.         local    NoCnvrt
  455.         cmp    al, 'A'
  456.         jb    NoCnvrt
  457.         cmp    al, 'Z'
  458.         ja    NoCnvrt
  459.         or    al, 20h
  460. NoCnvrt:
  461.         endm
  462. ;
  463. ToUpper        macro
  464.         local    NoCnvrt
  465.         cmp    al, 'a'
  466.         jb    NoCnvrt
  467.         cmp    al, 'z'
  468.         ja    NoCnvrt
  469.         and    al, 05fh
  470. NoCnvrt:
  471.         endm
  472. ;
  473. IsDigit        macro
  474.         local    NotDigit, IsDigit
  475.         cmp    al, '0'
  476.         jb    NotDigit         ;Note: this also clears ZF.
  477.         cmp    al, '9'
  478.         ja    NotDigit        ;Also clears ZF.
  479.         cmp    al, al            ;Set Zero flag
  480. NotDigit:
  481.         endm
  482. ;
  483. IsAlpha        macro
  484.         local    IsAl, NotAlpha
  485.         cmp    al, 'A'
  486.         jb    NotAlpha        ;Also clears ZF.
  487.         cmp    al, 'Z'
  488.         jbe    IsAl
  489.         cmp    al, 'a'
  490.         jb    NotAlpha
  491.         cmp    al, 'z'
  492.         ja    NotAlpha
  493. IsAl:        cmp    al, al            ;Set ZF.
  494. NotAlpha:
  495.         endm
  496. ;
  497. IsLower        macro
  498.         local    NotLower
  499.         cmp    al, 'a'
  500.         jb    NotLower
  501.         cmp    al, 'z'
  502.         ja    NotLower
  503.         cmp    al, al            ;Set ZF.
  504. NotLower:
  505.         endm
  506. ;
  507. IsUpper        macro
  508.         local    NotUpper
  509.         cmp    al, 'A'
  510.         jb    NotUpper
  511.         cmp    al, 'Z'
  512.         ja    NotUpper
  513.         cmp    al, al            ;Set ZF.
  514. NotUpper:
  515.         endm
  516. ;
  517. strcpy        macro
  518.         call    stdgrp:sl_strcpy
  519.         endm
  520. ;
  521. strcpyl        macro
  522.         call    stdgrp:sl_strcpyl
  523.         endm
  524. ;
  525. strdup        macro
  526.         call    stdgrp:sl_strdup
  527.         endm
  528. ;
  529. strdupl        macro
  530.         call    stdgrp:sl_strdupl
  531.         endm
  532. ;
  533. strlen        macro
  534.         call    stdgrp:sl_strlen
  535.         endm
  536. ;
  537. strcat        macro
  538.         call    stdgrp:sl_strcat
  539.         endm
  540. ;
  541. strcatl        macro
  542.         call    stdgrp:sl_strcatl
  543.         endm
  544. ;
  545. strcat2        macro
  546.         call    stdgrp:sl_strcat2
  547.         endm
  548. ;
  549. strcat2l    macro
  550.         call    stdgrp:sl_strcat2l
  551.         endm
  552. ;
  553. strchr        macro
  554.         call    stdgrp:sl_strchr
  555.         endm
  556. ;
  557. strstr        macro
  558.         call    stdgrp:sl_strstr
  559.         endm
  560. ;
  561. strstrl        macro
  562.         call    stdgrp:sl_strstrl
  563.         endm
  564. ;
  565. strcmp        macro
  566.         call    stdgrp:sl_strcmp
  567.         endm
  568. ;
  569. stricmp        macro
  570.         call    stdgrp:sl_stricmp
  571.         endm
  572. ;
  573. stricmpl    macro
  574.         call    stdgrp:sl_stricmpl
  575.         endm
  576. ;
  577. strcmpl        macro
  578.         call    stdgrp:sl_strcmpl
  579.         endm
  580. ;
  581. strupr        macro
  582.         call    stdgrp:sl_strupr
  583.         endm
  584. ;
  585. strupr2        macro
  586.         call    stdgrp:sl_strupr2
  587.         endm
  588. ;
  589. strlwr        macro
  590.         call    stdgrp:sl_strlwr
  591.         endm
  592. ;
  593. strlwr2        macro
  594.         call    stdgrp:sl_strlwr2
  595.         endm
  596. ;
  597. strset        macro
  598.         call    stdgrp:sl_strset
  599.         endm
  600. ;
  601. strset2        macro
  602.         call    stdgrp:sl_strset2
  603.         endm
  604. ;
  605. strspan        macro
  606.         call    stdgrp:sl_strspan
  607.         endm
  608. ;
  609. strspanl    macro
  610.         call    stdgrp:sl_strspanl
  611.         endm
  612. ;
  613. strcspan    macro
  614.         call    stdgrp:sl_strcspan
  615.         endm
  616. ;
  617. strcspanl    macro
  618.         call    stdgrp:sl_strcspanl
  619.         endm
  620. ;
  621. strins        macro
  622.         call    stdgrp:sl_strins
  623.         endm
  624. ;
  625. strinsl        macro
  626.         call    stdgrp:sl_strinsl
  627.         endm
  628. ;
  629. strins2        macro
  630.         call    stdgrp:sl_strins2
  631.         endm
  632. ;
  633. strins2l    macro
  634.         call    stdgrp:sl_strins2l
  635.         endm
  636. ;
  637. strdel        macro
  638.         call    stdgrp:sl_strdel
  639.         endm
  640. ;
  641. strdel2        macro
  642.         call    stdgrp:sl_strdel2
  643.         endm
  644. ;
  645. strrev        macro
  646.         call    stdgrp:sl_strrev
  647.         endm
  648. ;
  649. strrev2        macro
  650.         call    stdgrp:sl_strrev2
  651.         endm
  652. ;
  653. ;
  654. ; Macro used to declare up to eight separate sets interleaved with
  655. ; one another (1 bit from each byte to each set).
  656. ;
  657. set        macro    n0,n1,n2,n3,n4,n5,n6,n7
  658. n0        db    1
  659. n1        db    2
  660. n2        db    4
  661. n3        db    8
  662. n4        db    10h
  663. n5        db    20h
  664. n6        db    40h
  665. n7        db    80h
  666.         db    264 dup (0)
  667.         endm
  668. ;
  669. ;
  670. CreateSets    macro
  671.         call    stdgrp:sl_CreateSets
  672.         endm
  673. ;
  674. EmptySet    macro
  675.         call    stdgrp:sl_EmptySet
  676.         endm
  677. ;
  678. RangeSet    macro
  679.         call    stdgrp:sl_RangeSet
  680.         endm
  681. ;
  682. AddStr        macro
  683.         call    stdgrp:sl_AddStr
  684.         endm
  685. ;
  686. AddStrl        macro
  687.         call    stdgrp:sl_AddStrl
  688.         endm
  689. ;
  690. RmvStr        macro
  691.         call    stdgrp:sl_RmvStr
  692.         endm
  693. ;
  694. RmvStrl        macro
  695.         call    stdgrp:sl_RmvStrl
  696.         endm
  697. ;
  698. AddChar        macro
  699.         call    stdgrp:sl_AddChar
  700.         endm
  701. ;
  702. RmvChar        macro
  703.         call    stdgrp:sl_RmvChar
  704.         endm
  705. ;
  706. Member        macro
  707.         call    stdgrp:sl_member
  708.         endm
  709. ;
  710. CopySet        macro
  711.         call    stdgrp:sl_CopySet
  712.         endm
  713. ;
  714. setunion    macro
  715.         call    stdgrp:sl_union
  716.         endm
  717. ;
  718. SetIntersect    macro
  719.         call    stdgrp:sl_Intersect
  720.         endm
  721. ;
  722. SetDifference    macro
  723.         call    stdgrp:sl_Difference
  724.         endm
  725. ;
  726. NextItem    macro
  727.         call    stdgrp:sl_NextItem
  728.         endm
  729. ;
  730. RmvItem        macro
  731.         call    stdgrp:sl_RmvItem
  732.         endm
  733. ;
  734. lsfpa        macro
  735.         call    stdgrp:sl_lsfpa
  736.         endm
  737. ;
  738. ssfpa        macro
  739.         call    stdgrp:sl_ssfpa
  740.         endm
  741. ;
  742. ldfpa        macro
  743.         call    stdgrp:sl_ldfpa
  744.         endm
  745. ;
  746. sdfpa        macro
  747.         call    stdgrp:sl_sdfpa
  748.         endm
  749. ;
  750. lefpa        macro
  751.         call    stdgrp:sl_lefpa
  752.         endm
  753. ;
  754. lefpal        macro
  755.         call    stdgrp:sl_lefpal
  756.         endm
  757. ;
  758. sefpa        macro
  759.         call    stdgrp:sl_sefpa
  760.         endm
  761. ;
  762. ;
  763. lsfpo        macro
  764.         call    stdgrp:sl_lsfpo
  765.         endm
  766. ;
  767. ldfpo        macro
  768.         call    stdgrp:sl_ldfpo
  769.         endm
  770. ;
  771. lefpo        macro
  772.         call    stdgrp:sl_lefpo
  773.         endm
  774. ;
  775. lefpol        macro
  776.         call    stdgrp:sl_lefpol
  777.         endm
  778. ;
  779. itof        macro
  780.         call    stdgrp:sl_itof
  781.         endm
  782. ;
  783. utof        macro
  784.         call    stdgrp:sl_utof
  785.         endm
  786. ;
  787. ultof        macro
  788.         call    stdgrp:sl_ultof
  789.         endm
  790. ;
  791. ltof        macro
  792.         call    stdgrp:sl_ltof
  793.         endm
  794. ;
  795. fpadd        macro
  796.         call    stdgrp:sl_fadd
  797.         endm
  798. ;
  799. fpsub        macro
  800.         call    stdgrp:sl_fsub
  801.         endm
  802. ;
  803. fpcmp        macro
  804.         call    stdgrp:sl_fcmp
  805.         endm
  806. ;
  807. fpdiv        macro
  808.         call    stdgrp:sl_fdiv
  809.         endm
  810. ;
  811. fpmul        macro
  812.         call    stdgrp:sl_fmul
  813.         endm
  814. ;
  815. ftoa        macro
  816.         call    stdgrp:sl_ftoa
  817.         endm
  818. ;
  819. ftoa2        macro
  820.         call    stdgrp:sl_ftoa2
  821.         endm
  822. ;
  823. ftoam        macro
  824.         call    stdgrp:sl_ftoam
  825.         endm
  826. ;
  827. etoa        macro
  828.         call    stdgrp:sl_etoa
  829.         endm
  830. ;
  831. etoa2        macro
  832.         call    stdgrp:sl_etoa2
  833.         endm
  834. ;
  835. etoam        macro
  836.         call    stdgrp:sl_etoam
  837.         endm
  838. ;
  839. atof        macro
  840.         call    stdgrp:sl_atof
  841.         endm
  842. ;
  843. ftoi        macro
  844.         call    stdgrp:sl_ftoi
  845.         endm
  846. ;
  847. ftou        macro
  848.         call    stdgrp:sl_ftou
  849.         endm
  850. ;
  851. ftoul        macro
  852.         call    stdgrp:sl_ftoul
  853.         endm
  854. ;
  855. ftol        macro
  856.         call    stdgrp:sl_ftol
  857.         endm
  858. ;
  859. AccOp        macro
  860.         call    stdgrp:sl_AccOp
  861.         endm
  862. ;
  863. XAccOp        macro
  864.         call    stdgrp:sl_XAccOp
  865.         endm
  866. ;
  867. Putf        macro
  868.         call    stdgrp:sl_putf
  869.         endm
  870. ;
  871. Pute        macro
  872.         call    stdgrp:sl_pute
  873.         endm
  874. ;
  875. fcreate        macro
  876.         call    stdgrp:sl_fcreate
  877.         endm
  878. ;
  879. fopen        macro
  880.         call    stdgrp:sl_fopen
  881.         endm
  882. ;
  883. freadon        macro
  884.         call    stdgrp:sl_freadon
  885.         endm
  886. ;
  887. freadoff    macro
  888.         call    stdgrp:sl_freadoff
  889.         endm
  890. ;
  891. fgetc        macro
  892.         call    stdgrp:sl_fgetc
  893.         endm
  894. ;
  895. fclose        macro
  896.         call    stdgrp:sl_fclose
  897.         endm
  898. ;
  899. fflush        macro
  900.         call    stdgrp:sl_fflush
  901.         endm
  902. ;
  903. fwriteon    macro
  904.         call    stdgrp:sl_fwriteon
  905.         endm
  906. ;
  907. fwriteoff    macro
  908.         call    stdgrp:sl_fwriteoff
  909.         endm
  910. ;
  911. fseek        macro
  912.         call    stdgrp:sl_fseek
  913.         endm
  914. ;
  915. fdel        macro
  916.         call    stdgrp:sl_fdel
  917.         endm
  918. ;
  919. frename        macro
  920.         call    stdgrp:sl_frename
  921.         endm
  922. ;
  923. fDOSHandle    macro
  924.         call    stdgrp:sl_fDOSHandle
  925.         endm
  926. ;
  927. argc        macro
  928.         call    stdgrp:sl_argc
  929.         endm
  930. ;
  931. argv        macro
  932.         call    stdgrp:sl_argv
  933.         endm
  934. ;
  935. getenv        macro
  936.         call    stdgrp:sl_getenv
  937.         endm
  938. ;
  939. toHex        macro
  940.         call    stdgrp:sl_tohex
  941.         endm
  942. ;
  943. Randomize    macro
  944.         call    stdgrp:sl_Randomize
  945.         endm
  946. ;
  947. Random        macro
  948.         call    stdgrp:sl_Random
  949.         endm
  950. ;
  951. CPUID        macro
  952.         call    stdgrp:sl_CPUID
  953.         endm
  954. ;
  955. ;
  956. ;
  957. stdlib        ends
  958. ;
  959. ;
  960.